package two2;

import java.util.Scanner;

public class zuixiaozhi {
    public static void main(String[] args) {
        int a,b,c,d;
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入三个数");
        a= scanner.nextInt();
        b= scanner.nextInt();
        c= scanner.nextInt();
        d=a;
        if (b<a)d=b;
        if (c<b)d=c;
        System.out.println("三个数中最小的是"+d);
    }
}
